package org.raymond.iworks.study.basic.designpattern.state;

/**
 * @author raymond
 * @version V1.0
 * @Description: TODO
 * 奖品发放完毕的状态
 * 抽奖结束,不能再参加活动
 */
public class DispenseOutState implements State{
    private RaffleActivity activity;
    public DispenseOutState(RaffleActivity activity){
        this.activity = activity;
    }
    @Override
    public void deduceMoney() {
        System.out.println("奖品发完了,请下次参加");
    }

    @Override
    public boolean raffle() {
        System.out.println("奖品发完了,请下次参加");
        return false;
    }

    @Override
    public void dispensePrize() {
        System.out.println("奖品发完了,请下次参加");
    }
}
